package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TOrdersettingMapper;
import com.hu.zhcc.shiro.entity.lgx.TOrdersetting;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class TOrdersettingServiceImpl implements TOrdersettingService {
    @Autowired
    TOrdersettingMapper tOrdersettingMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tOrdersettingMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TOrdersetting record) {
        return tOrdersettingMapper.insert(record);
    }

    @Override
    public int insertSelective(TOrdersetting record) {
        return tOrdersettingMapper.insertSelective(record);
    }

    @Override
    public TOrdersetting selectByPrimaryKey(Integer id) {
        return tOrdersettingMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TOrdersetting record) {
        return tOrdersettingMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TOrdersetting record) {
        return tOrdersettingMapper.updateByPrimaryKey(record);
    }

    @Override
    public TOrdersetting tordate(Date date) {
        return tOrdersettingMapper.tordate(date);
    }

    @Override
    public List<TOrdersetting> tordersetList() {
        return tOrdersettingMapper.tordersetList();
    }

    @Override
    public String yytime(String data) {
        return tOrdersettingMapper.yytime(data);
    }
}
